package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 教学跟踪对象 t_student_track_log
 * 
 * @author ruoyi
 * @date 2022-12-26
 */
public class StudentTrackLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long stuSn;

    /** 问题类型ID */
    @Excel(name = "问题类型ID")
    private Long problemId;

    /** 扣除分数（计数总和） */
    @Excel(name = "扣除分数", readConverterExp = "计=数总和")
    private Long deductMarks;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurrenceTime;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problemDescription;

    /** 跟踪老师 */
    @Excel(name = "跟踪老师")
    private Long teacherId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 跟踪老师姓名 */
    @Excel(name = "跟踪老师姓名")
    private String teacherName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStuSn(Long stuSn) 
    {
        this.stuSn = stuSn;
    }

    public Long getStuSn() 
    {
        return stuSn;
    }
    public void setProblemId(Long problemId) 
    {
        this.problemId = problemId;
    }

    public Long getProblemId() 
    {
        return problemId;
    }
    public void setDeductMarks(Long deductMarks) 
    {
        this.deductMarks = deductMarks;
    }

    public Long getDeductMarks() 
    {
        return deductMarks;
    }
    public void setOccurrenceTime(Date occurrenceTime) 
    {
        this.occurrenceTime = occurrenceTime;
    }

    public Date getOccurrenceTime() 
    {
        return occurrenceTime;
    }
    public void setProblemDescription(String problemDescription) 
    {
        this.problemDescription = problemDescription;
    }

    public String getProblemDescription() 
    {
        return problemDescription;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuSn", getStuSn())
            .append("problemId", getProblemId())
            .append("deductMarks", getDeductMarks())
            .append("occurrenceTime", getOccurrenceTime())
            .append("problemDescription", getProblemDescription())
            .append("teacherId", getTeacherId())
            .append("time", getTime())
            .append("teacherName", getTeacherName())
            .toString();
    }
}
